package com.doyoo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.doyoo.entity.JobInfo;
import com.fasterxml.jackson.core.JsonProcessingException;
import io.kubernetes.client.openapi.ApiException;

/**
 * 定时任务 服务类
 */
public interface JobInfoService extends IService<JobInfo> {

    void addOne(JobInfo jobInfo);

    void updateOne(JobInfo jobInfo);

    void enableOne(Integer id) throws JsonProcessingException, ApiException;

    void disableOne(Integer id) throws ApiException;
}
